﻿using Bot.Domain.Entities;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class IntentAnswerInChannelFilterSpecification : BaseSpecification<IntentAnswerInChannel>
    {
        public IntentAnswerInChannelFilterSpecification(Guid intentId)
            : base(i => i.IntentId == intentId)
        {

        }
        public IntentAnswerInChannelFilterSpecification(string type, Guid authenticationRequestId)
            : base(i => i.AuthenticationRequestId == authenticationRequestId)
        {
            
        }
        public IntentAnswerInChannelFilterSpecification(string type, string type2, Guid formId)
            : base(i => i.FormId == formId)
        {

        }
        public IntentAnswerInChannelFilterSpecification(string type, string type2, string type3, Guid locationRequestId)
           : base(i => i.LocationRequestId == locationRequestId)
        {

        }
        public IntentAnswerInChannelFilterSpecification(Guid intentId, string channel)
          : base(i => i.IntentId == intentId && i.Channel == channel)
            {

            }
    }
}
